package day3;

import java.util.Scanner;

/**
 * @author oldliu
 * @since 1.0
 */
public class LevelPrize {
    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        System.out.println("请输入这名选手的名次：");
        int levl = in.nextInt();
        switch (levl) {
            case 1: {
                int i = 15100;
                System.out.println("参加麻省理工的夏令营");
            }
            break;
            case 2: {
                int i = 5000;
                System.out.println("hp笔记本电脑");
            }
            break;
            case 3:
            case 4:
                System.out.println("笔记本硬盘。。。");
                break;
            default:
                System.out.println("没有奖励！");
                break;
        }
//        if(levl==1){
//            System.out.println("参加麻省理工的夏令营");
//        }else if(levl==2){
//            System.out.println("hp笔记本电脑");
//        }else if (levl==3){
//            System.out.println("笔记本硬盘。。。");
//        }else{
//            System.out.println("没有奖励！");
//        }
    }
}
